package com.kevin.ms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * goods实体类
 *
 * @author Kevin Liu
 * @date 2020/1/5 21:12
 * @since 1.0
 */
@TableName("goods")
@Data
public class Goods implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String goodsName;

    private String goodsTitle;

    private String goodsImg;

    private String goodsDetail;

    private Double goodsPrice;

    private Integer goodsStock;

}
